package com.crane.common.core.exception;

/**
 * 业务异类接口
 *
 * @author zhenxing.pi
 */
public class BizException extends AppException {

    private static final long serialVersionUID = 1L;


    public BizException() {
        super(BasicErrorCode.BIZ_ERROR);
    }

    public BizException(String msg) {
        super(BasicErrorCode.BIZ_ERROR.getErrCode(), msg);
    }

    public BizException(Throwable e) {
        super(BasicErrorCode.BIZ_ERROR, e);
    }

    public BizException(String msg, Throwable e) {
        super(BasicErrorCode.BIZ_ERROR.getErrCode(), msg, e);
    }
}